package com.ruoyi.mixuebingcheng.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.mixuebingcheng.domain.Good;
import com.ruoyi.mixuebingcheng.domain.vo.GoodVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜品管理Mapper接口
 *
 * @author ruoyi
 * @date 2023-10-27
 */
public interface GoodMapper extends BaseMapperPlus<GoodMapper, Good, GoodVo> {
//    List<GoodVo> selectGoodDetail();
    Page<GoodVo> selectGoodDetail(@Param("page") Page<GoodVo> page, @Param("ew") Wrapper<Good> wrapper);

}
